Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/repository/src/commonMain/kotlin/org/meshtastic/core/repository/QueryController.kt bf929c20f274232e0eb8ddc19b2dc82403e99e5b (bf929c20) Text, 1.93 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.repository

Tff7b72import T7ee787org.meshtastic.core.model.Position

T8b949e/**
* Mesh query operations — position, traceroute, telemetry, user info, and metadata.
*
* These are "pull" operations that request data from remote nodes. When the SDK is adopted, implementations delegate to
* `RadioClient.telemetry` and `RadioClient.routing` sub-APIs.
*
* @see RadioController which extends this interface for backward compatibility
*/
Tff7b72interface T56d364QueryController Tb4b4b4{

T8b949e/** Requests device metadata from a remote node. */
Tff7b72suspend Tff7b72fun Td2a8ffrefreshMetadataTb4b4b4(Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4)

T8b949e/** Requests the current GPS position from a remote node. */
Tff7b72suspend Tff7b72fun Td2a8ffrequestPositionTb4b4b4(Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3currentPositionTb4b4b4: Te6edf3PositionTb4b4b4)

T8b949e/** Requests detailed user info from a remote node. */
Tff7b72suspend Tff7b72fun Td2a8ffrequestUserInfoTb4b4b4(Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4)

T8b949e/** Initiates a traceroute request to a remote node. */
Tff7b72suspend Tff7b72fun Td2a8ffrequestTracerouteTb4b4b4(Te6edf3requestIdTb4b4b4: Tffa657IntTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4)

T8b949e/** Requests telemetry data from a remote node. */
Tff7b72suspend Tff7b72fun Td2a8ffrequestTelemetryTb4b4b4(Te6edf3requestIdTb4b4b4: Tffa657IntTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3typeValueTb4b4b4: Tffa657IntTb4b4b4)

T8b949e/** Requests neighbor information (detected nodes) from a remote node. */
Tff7b72suspend Tff7b72fun Td2a8ffrequestNeighborInfoTb4b4b4(Te6edf3requestIdTb4b4b4: Tffa657IntTb4b4b4, Te6edf3destNumTb4b4b4: Tffa657IntTb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.05s